class people{
    private String name;
    private int age;
    public void eat(){
        System.out.println(name+"正在吃饭");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public void show(){
        System.out.println(name+age);
    }
}

public class Land {
    public static void main(String[] args) {
        people people=new people();
        people.setAge(10);
        people.setName("啦啦啦");
        people.show();
        people.eat();

    }
}
